<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<nav class="navbar navbar-default navbar-fixed-top navbar-inverse" role="navigation">
	<div class="container">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
				<span class="sr-only">Toggle navigation</span> 
				<span class="icon-bar"></span> 
				<span class="icon-bar"></span> 
				<span class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="${contextPath}/index.jhtml">最美代码</a>
		</div>
		<div id="navbar" class="collapse navbar-collapse">
			<ul class="nav navbar-nav">
				<li <c:if test="${active eq 'index' }">class="active"</c:if> ><a href="${contextPath}/index.jhtml">首页</a></li>
				<li <c:if test="${active eq 'articles' }">class="active"</c:if>><a href="${contextPath}/post/queryPage.jhtml">最新招聘</a></li>
			</ul>
		</div>
	</div>
</nav>